#!/bin/bash

if [[ $1 == "get" ]]; then
    read > /dev/null

    echo '{' \
         '  "Username": "username",' \
         '  "Secret": "secret"' \
         '}'
elif [[ $1 == "list" ]]; then
    echo '{' \
         '  "registry.example.com": "username"' \
         '}'
else
    exit 1
fi
